package com.wtone.platform.gat.images.gat.model;

import com.fasterxml.jackson.annotation.JsonProperty;
import com.wtone.platform.gat.images.gat.core.R;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

/**
 * @Author: aiLin
 * @Date: 2020/9/26 17:18
 * @desc: 图片信息
 *
 * "ImageID": "31000051511191251218992018102510500055558",
 * "EventSort": 1,
 * "DeviceID": "31000051511191251218",
 * "StoragePath": "https://10.129.35.207:8090/VIID/SubImages/L21udC96amgvZGF0YS9WSUlEL2ltYWdlL25vbm1vdG9ydmVoaWNsZS8zMTAwMDA1MTUxMTE5MTI1MTIxOC8yMDE4MTIyMi8zMTAwMDA1MTUxMTE5MTI1MTIxODk5MjAxODEwMjUxMDUwMDA1NTU1NS5KcGVn",
 * "Type": "11",
 * "FileFormat": "Jpeg",
 * "ShotTime": "20181222100900"
 *
 */
@Data
@ToString
@NoArgsConstructor                 //无参构造
@AllArgsConstructor                //有参构造
@ApiModel(value="SubImageInfo对象",description="图片信息对象")
public class SubImageInfo {

    @ApiModelProperty(value="图片ID")
    @JsonProperty("ImageID")
    private String ImageID;

    @ApiModelProperty(value="事件",example = "1")
    @JsonProperty("EventSort")
    private String EventSort;

    @ApiModelProperty(value="设备id")
    @JsonProperty("DeviceID")
    private String DeviceID;

    @ApiModelProperty(value="图片url,小图的StoragePath和Data至少有一个")
    @JsonProperty("StoragePath")
    private String StoragePath;

    @ApiModelProperty(value="11—人像小图 ,14— 大图")
    @JsonProperty("Type")
    private String Type;

    @ApiModelProperty(value="图片格式",example = "Jpeg")
    @JsonProperty("FileFormat")
    private String  FileFormat;

    @ApiModelProperty(value="抓拍时间")
    @JsonProperty("ShotTime")
    private String ShotTime;

    @ApiModelProperty(value="大图时必填,图片宽度",example = "200")
    @JsonProperty("Width")
    private String Width;

    @ApiModelProperty(value="大图时必填，图片高度",example = "300")
    @JsonProperty("Height")
    private String Height;

    @ApiModelProperty(value="图片的base64编码。小图的StoragePath和Data至少有一个.",example = "greftwerewrewrwesfvfewr65r6e4wrewr")
    @JsonProperty("Data")
    private String 	Data;
}
